package com.cn.wanxi.IOModel;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class NavIOModel {
    public String[] hrefs = {"/home","/cpyintro","/news","/product","/facebook","/about"};
    public String[] titles = new String[6];
    public List<NavIOModel> list = new ArrayList<>();

    {
        titles[0] = "网站首页";
        titles[1] = "公司简介";
        titles[2] = "新闻动态";
        titles[3] = "产品展示";
        titles[4] = "在线留言";
        titles[5] = "联系我们";
    }

    public String[] getHrefs() {
        return hrefs;
    }

    public void setHrefs(String[] hrefs) {
        this.hrefs = hrefs;
    }

    public String[] getTitles() {
        return titles;
    }

    public void setTitles(String[] titles) {
        this.titles = titles;
    }

    @Override
    public String toString() {
        return "NavIOModel{" +
                "hrefs=" + Arrays.toString(hrefs) +
                "&& titles=" + Arrays.toString(titles) +
                '}';
    }
}
